<?php
/**
 * Created by PhpStorm.
 * User: arpeng
 * Date: 16/4/7
 * Time: 下午5:31
 */

namespace Home\Controller;


use Think\Controller;

class TestController extends Controller
{

    public function index()
    {

        //session('uid', 56);

        $this->display();

    }

    public function test()
    {

        $sms = new \Think\SMS\Mobile();


        $msg = "您的订单 34563456345asdfasdfas 已经发货,快递公司为[韵达快递:3456345634],请注意查收";


        $result = $sms->send('13123144888',$msg);

        var_dump($result);

    }
}